home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Utilities / FinderV3 / Source / FinderV3GUI.h < prev    next >
C/C++ Source or Header  |  1997-06-21  |  980b  |  55 lines

  1. /* ANSI */
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <string.h>
  5.  
  6. /* Amiga.lib */
  7. #include <dos/dos.h>
  8. #include <dos/dostags.h>
  9.  
  10. #include <exec/types.h>
  11. #include <exec/libraries.h>
  12. #include <exec/exec.h>
  13.  
  14. #include <clib/dos_protos.h>
  15. #include <clib/alib_protos.h>
  16. #include <clib/exec_protos.h>
  17. #include <clib/utility_protos.h>
  18. #include <clib/wb_protos.h>
  19.  
  20. #include <workbench/workbench.h>
  21. #include <workbench/startup.h>
  22.  
  23. /* Some definitions useful for hooks */
  24.  
  25. #define REG(x) register __ ## x
  26.  
  27. #define ASM    __asm
  28. #define SAVEDS __saveds
  29.  
  30. struct ObjApp
  31. {
  32.     APTR    App;
  33.     APTR    MainWin;
  34.     APTR    MainMenu;
  35.     APTR    FileList;
  36.     APTR    DrawerPopup;
  37.     APTR    STR_DrawerPopup;
  38.     APTR    PatternStr;
  39.    APTR  casecheck;
  40.    APTR  recursecheck;
  41.     APTR    FindBut;
  42.     APTR    QuitBut;
  43.     APTR    AboutWin;
  44.     APTR    AboutText;
  45.     APTR    OkButton;
  46.     char *    STR_AboutText;
  47. };
  48.  
  49. #define FindPressed  1
  50. #define SaveList     2
  51. #define PrintList    3
  52.  
  53. extern struct ObjApp * CreateApp(void);
  54. extern void DisposeApp(struct ObjApp *);
  55.